﻿<igRibbon:XamRibbonWindow x:Class="OneStop.UI.ChartView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:igCA="http://infragistics.com/Chart"
    xmlns:igRibbon="http://infragistics.com/Ribbon"
    ResizeMode="CanResizeWithGrip"
    WindowStartupLocation="CenterScreen"
    Title="Chart View" Width="800" Height="600" 
    Icon="Images\Ribbon16\chart.png"
    >
    <igRibbon:RibbonWindowContentHost>
        <igRibbon:RibbonWindowContentHost.Ribbon>

            <igRibbon:XamRibbon Name="Ribbon" Visibility="Collapsed" Theme="Office2k7Black">

            </igRibbon:XamRibbon>
        </igRibbon:RibbonWindowContentHost.Ribbon>


        <igRibbon:RibbonWindowContentHost.StatusBar>

            <StatusBar Name="Status" Height="15" Grid.Column="0" Grid.Row="5" VerticalAlignment="Bottom" Background="Gray">
            
            </StatusBar>

        </igRibbon:RibbonWindowContentHost.StatusBar>

        <Grid Background="White">

            <igCA:XamChart x:Name="ProfileChart" BorderBrush="Crimson" BorderThickness="1">
                <igCA:XamChart.Template>
                    <ControlTemplate>
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="15" />
                                <ColumnDefinition Width="*" />
                            </Grid.ColumnDefinitions>

                            <Grid.RowDefinitions>
                                <RowDefinition Height="*" />
                                <RowDefinition Height="15" />
                            </Grid.RowDefinitions>

                            <ContentPresenter Name="PART_Default_Chart" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top" />

                            <TextBlock Grid.Row="0" Grid.RowSpan="2" Grid.Column="0" TextAlignment="Center">
                            <TextBlock.LayoutTransform>
                                <RotateTransform Angle="90" />
                            </TextBlock.LayoutTransform>
                            Depth 
                        </TextBlock>

                            <TextBlock Grid.Row="1" Grid.ColumnSpan="2" TextAlignment="Center">Time (min)</TextBlock>
                        </Grid>

                    </ControlTemplate>
                </igCA:XamChart.Template>

                <!-- Legend -->
                <igCA:XamChart.Legend>
                    <igCA:Legend  />
                </igCA:XamChart.Legend>
                <!-- Scene -->
                <igCA:XamChart.Scene>
                    <igCA:Scene BorderBrush="Black" Canvas.Left="0" Canvas.Top="0" MarginType="Percent" Margin="0" Perspective="0">
                        <igCA:Scene.GridArea>
                            <igCA:GridArea Padding="0" Margin="0" HorizontalContentAlignment="Left" HorizontalAlignment="Left" Canvas.Left="0" Canvas.Top="0" />
                        </igCA:Scene.GridArea>
                    </igCA:Scene>
                </igCA:XamChart.Scene>
                <!-- Data points -->
                <igCA:XamChart.Series />
                <!-- Axes -->
                <igCA:XamChart.Axes>
                    <igCA:Axis AxisType="PrimaryX" AutoRange="true" Unit="5" />
                    <igCA:Axis AxisType="PrimaryY" AutoRange="true">
                        <igCA:Axis.Label>
                            <igCA:Label Format="{}{0:;0;0}" />
                        </igCA:Axis.Label>
                        <igCA:Axis.Stripes>
                            <igCA:Stripe />
                        </igCA:Axis.Stripes>
                    </igCA:Axis>
                </igCA:XamChart.Axes>
            </igCA:XamChart>
        </Grid>
    </igRibbon:RibbonWindowContentHost>
</igRibbon:XamRibbonWindow>
